home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group00b.txt / 000111_icon-group-sender_Wed Oct 25 16:27:32 2000.msg < prev    next >
Internet Message Format  |  2001-01-03  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id e9PNQH309083
  4.     for icon-group-addresses; Wed, 25 Oct 2000 16:26:17 -0700 (MST)
  5. Message-Id: <200010252326.e9PNQH309083@baskerville.CS.Arizona.EDU>
  6. Date: Wed, 25 Oct 2000 12:53:08 -0700 (PDT)
  7. From: Shamim Mohamed <shamim@drones.com>
  8. To: symbiot@my-deja.com
  9. Cc: icon-group@cs.arizona.edu
  10. Subject: Re: Yet another Newbie question....
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12. Status: RO
  13. Content-Length: 602
  14.  
  15.  > Hi, And thanks in advance to all who have been helping me thru this
  16.  > learning curve of getting started in ICON.
  17.  
  18.  > My present problem is trying to write a rountine that counts only
  19.  > letters in text and skips blanks, numbers, punctuation, etc.
  20.  
  21. Homework?
  22.  
  23. You really need a book on Icon. If you don't want to buy the text,
  24. download and read Tom Christopher's free on-line book. There's a link to
  25. it from the U of A Icon web page http://www.cs.arizona.edu/icon/.
  26.  
  27. String scanning is the most natural way of doing this. What does this
  28. code do?
  29.  
  30.    line ? while tab(upto(&letters)) do move(1)
  31.  
  32. -s
  33.